package com.linewell.license.demo.task;

import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.stereotype.Component;

/**
 * @author
 * Company:
 * Createtime : 2019/10/22 14:49
 * Description :
 */
@Component
public class CustomTask {

    @Scheduled(cron = "0/15 * * * * ? ")
    public void taskDemo(){
        //任务开始
    }

}
